Skip to content

Conversation

@danpeig
Copy link

@danpeig danpeig commented Nov 14, 2025

Description

At this stage of initialization, the port will never be open. When it opens, this error trigger is cancelled.

Trying to close the port will generate an exception.

If the user has an invalid or unreachable serial port , this exception will crash the script.

Related Issues

Changes Made

Just deleted the command.

Testing Done

Screenshots (if applicable)

Checklist

  • [ x] Code follows project style guidelines
  • [ x] Documentation has been updated or added
  • [ x] Tests have been added or updated
  • [ x] All i18n translation labels have been added (read
    CONTRIBUTING_I18N_DEVELOPER_GUIDE.md for more details)

At this stage of initialization, the port is not open. Trying to close it generate and exception.
@vercel
Copy link

vercel bot commented Nov 14, 2025

@danpeig is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

@danditomaso
Copy link
Collaborator

This isn't a great solution to the problem you mentioned. I will revisit this piece of code and make it more robust so it surfaces errors to the web client. Closing PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants